package top.yangyitao.service;

import java.util.List;

import top.yangyitao.entity.Organization;
import top.yangyitao.entity.OrganizationRole;

public interface OrganizationRoleService {
	public OrganizationRole getOne(long id);
	public List<OrganizationRole> findAll();
	public List<OrganizationRole> findAllById(List<Long> ids);
	public void save(OrganizationRole organizationRole);
	public void save(List<OrganizationRole> organizationRoles);
	public void delete(OrganizationRole organizationRole);
	public void delete(List<OrganizationRole> organizationRoles);
	public OrganizationRole findByNameAndOrganization(String name, Organization organization);
}
